#!/usr/bin/env python
# -*- coding: utf-8 -*-
from nubio import AaSeq, AaAln

hello_world = AaSeq("HELLO--WORLD", meta={'taxon':'Nubion sequescis'})
hi_out_there = AaSeq("HI-OUT-THERE", meta={'taxon':'Nuboxon sequn'})

alignment = AaAln((hello_world, hi_out_there))

print "alignemnt has %s sequences and %s letters" % (len(alignment), len(alignment.data))
seq1 = alignment[0]
seq2 = alignment[1]
print "sequence: %s is from a %s" % (seq1.tobytes(), seq1.meta['taxon'])
print "sequence: %s is from a %s" % (seq2.tobytes(), seq2.meta['taxon'])


